package com.sds.replicator.listeners;


import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;
import com.sds.replicator.modules.ReplicatorModule;

/**
 * Created by IntelliJ IDEA.
 * User: sdsbirdman
 * Date: 6/25/11
 * Time: 10:13 AM
 * To change this template use File | Settings | File Templates.
 */
public class ReplicatorGuiceListener extends GuiceServletContextListener {

    private static Injector INJECTOR = Guice.createInjector(new ReplicatorModule());

    @Override
    protected Injector getInjector() {
        return INJECTOR;
    }
}
